home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 125 / MOBICLIC 125.ISO / pc / DATA / DSS125 / DSS125_05 / DSS125_05.swf / scripts / frame_2 / DoAction.as
Text File  |  2010-06-16  |  1KB  |  35 lines

  1. function initBT_RETOUR()
  2. {
  3.    var _loc3_ = this.BT_RETOUR;
  4.    _loc3_.onRollOver = function()
  5.    {
  6.       joueBruitage({nomSon:"B_RETOUR"});
  7.       gereTextes.afficheIB({mc:this,codeIB:"IB100"});
  8.       this.gotoAndPlay("E2");
  9.       gereCursor(2);
  10.       trace(this.pNum);
  11.    };
  12.    _loc3_.onRollOut = _loc3_.onDragOut = function()
  13.    {
  14.       stopBruitage({nomSon:"B_RETOUR"});
  15.       gereTextes.masqueIB({mc:this,codeIB:"IB100"});
  16.       this.gotoAndPlay("E1");
  17.       gereCursor(1);
  18.    };
  19.    _loc3_.onPress = function()
  20.    {
  21.       gZone = this.pNum;
  22.       stopBruitage({nomSon:"B_RETOUR"});
  23.       gereTextes.masqueIB({mc:this,codeIB:"IB100"});
  24.       _global.ChangeModule({codeRub:"DSS",numMod:0,A_GoLabel:"ATTENTE"});
  25.    };
  26. }
  27. stop();
  28. gNbQuestions = Number(moduleInfo.returnNodeByPath("Module.Config.Serie").firstChild.nodeValue);
  29. gTimer = Number(moduleInfo.returnNodeByPath("Module.Config.Timer").firstChild.nodeValue);
  30. if(_global.HOTE == undefined)
  31. {
  32.    gST = 1;
  33. }
  34. InitOk();
  35.